package iterator;/** * Created by Administrator on 2018-10-29. */public class MenuItem {    String name;    String description;    boolean vegetarian;    double price;    public MenuItem(String name,String description,boolean vegetarian,double price){       this.name = name;       this.description = description;       this.vegetarian = vegetarian;       this.price =price;   }   public String getName(){        return name;   }   public String getDescription(){       return description;   }   public double getPrice(){       return  price;   }   public boolean isVegetarian(){       return  vegetarian;   }}